﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Scaffold.Views
{
    // This class is here for library development only.  as soon as view and edit pages are defined, it should go away
    public class StubViewPage<TItem> : ScaffoldViewPage<TItem>
    {
        public StubViewPage(ViewPageInfo viewInfo)
            : base(viewInfo)
        {
        }
        protected override void BuildContent(StringBuilder builder)
        {
            string name = typeof(TItem).Name;
            builder.AppendFormat("<h2>{0}</h2><br/><p>This is a development stub page</p>");
        }
    }
}
